package com.bootdo.settingDemo.service.impl;

import com.bootdo.settingDemo.dao.EmployeeinfoDao;
import com.bootdo.settingDemo.domain.EmployeeinfoDO;
import com.bootdo.settingDemo.service.EmployeeinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class EmployeeinfoServiceImpl implements EmployeeinfoService {
	@Autowired
	private EmployeeinfoDao employeeinfoDao;
	
	@Override
	public EmployeeinfoDO get(Long id){
		return employeeinfoDao.get(id);
	}
	
	@Override
	public List<EmployeeinfoDO> list(Map<String, Object> map){
		return employeeinfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return employeeinfoDao.count(map);
	}
	
	@Override
	public int save(EmployeeinfoDO employeeinfo){
		return employeeinfoDao.save(employeeinfo);
	}
	
	@Override
	public int update(EmployeeinfoDO employeeinfo){
		return employeeinfoDao.update(employeeinfo);
	}
	
	@Override
	public int remove(Long id){
		return employeeinfoDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return employeeinfoDao.batchRemove(ids);
	}
	
}
